package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "车机设备厂商")
public class DriverDeviceAutoPartnerQueryWrapper extends Page<DriverDeviceAutoPartnerQueryWrapper> {
    public DriverDeviceAutoPartnerQueryWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "车机设备厂商名称")
    private String name;

    @ApiModelProperty(value = "车机设备型号")
    private String deviceModel;
}
